package com.ruoyi.hikvision.domain;

import lombok.Builder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备人脸库对象 iot_pick_device_face
 * 
 * @author ruoyi
 * @date 2025-01-03
 */
@Builder
public class HikvisionDeviceFace extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 人脸编号 */
    @Excel(name = "人脸编号")
    private String facecode;

    /** 学校ID */
    private Long comId;

    /** 1教职工 2学生 3家属 4其他人员 */
    @Excel(name = "1教职工 2学生 3家属 4其他人员")
    private Integer personType;

    /** 学生ID/用户UID/接送人ID */
    @Excel(name = "学生ID/用户UID/接送人ID")
    private Long uuid;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    private String sex;

    /** 相片 */
    private String face;

    /** 设备ID */
    @Excel(name = "设备ID")
    private Long deviceId;

    /** 下发设备序号 */
    @Excel(name = "下发设备序号")
    private String deviceNo;

    /** 1添加 2添加成功 3添加失败 4下发中 -1删除 -2删除成功 -3删除失败 */
    @Excel(name = "1添加 2添加成功 3添加失败 4下发中 -1删除 -2删除成功 -3删除失败")
    private Integer status;

    /** 1 添加 -1 删除 */
    private Integer statusOld;

    /** 身份证 */
    @Excel(name = "身份证")
    private String idcard;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String mobile;

    /** 教工号或学号 */
    @Excel(name = "教工号或学号")
    private String jobNumber;

    /** 一卡通卡号 */
    @Excel(name = "一卡通卡号")
    private String icNumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFacecode(String facecode) 
    {
        this.facecode = facecode;
    }

    public String getFacecode() 
    {
        return facecode;
    }
    public void setComId(Long comId) 
    {
        this.comId = comId;
    }

    public Long getComId() 
    {
        return comId;
    }
    public void setPersonType(Integer personType) 
    {
        this.personType = personType;
    }

    public Integer getPersonType() 
    {
        return personType;
    }
    public void setUuid(Long uuid) 
    {
        this.uuid = uuid;
    }

    public Long getUuid() 
    {
        return uuid;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setFace(String face) 
    {
        this.face = face;
    }

    public String getFace() 
    {
        return face;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setDeviceNo(String deviceNo) 
    {
        this.deviceNo = deviceNo;
    }

    public String getDeviceNo() 
    {
        return deviceNo;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setStatusOld(Integer statusOld) 
    {
        this.statusOld = statusOld;
    }

    public Integer getStatusOld() 
    {
        return statusOld;
    }
    public void setIdcard(String idcard) 
    {
        this.idcard = idcard;
    }

    public String getIdcard() 
    {
        return idcard;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setJobNumber(String jobNumber) 
    {
        this.jobNumber = jobNumber;
    }

    public String getJobNumber() 
    {
        return jobNumber;
    }
    public void setIcNumber(String icNumber) 
    {
        this.icNumber = icNumber;
    }

    public String getIcNumber() 
    {
        return icNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("facecode", getFacecode())
            .append("comId", getComId())
            .append("personType", getPersonType())
            .append("uuid", getUuid())
            .append("name", getName())
            .append("sex", getSex())
            .append("face", getFace())
            .append("deviceId", getDeviceId())
            .append("deviceNo", getDeviceNo())
            .append("status", getStatus())
            .append("statusOld", getStatusOld())
            .append("idcard", getIdcard())
            .append("mobile", getMobile())
            .append("jobNumber", getJobNumber())
            .append("icNumber", getIcNumber())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
